import LayoutMain from '@/layout';
import setting from '@/setting';
let routePre = setting.routePre;

let pre = 'param_';
export default {
  path: routePre + '/param',
  name: 'param',
  header: 'param',
  redirect: {
    name: `${pre}list`,
  },
  meta: {
    auth: true
  },
  component: LayoutMain,
  children: [
    {
      path: 'list',
      name: `${pre}list`,
      meta: {
        auth: ['admin-param-list'],
        title: '参数管理',
      },
      component: () => import('@/pages/param/index'),
    },
  ],
};